package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IContractService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;


/**
 * 合同定时任务
 *
 * @author I:P Masquerenaʚїɞ
 * @date 2025/6/6
 */
@Component
@RequiredArgsConstructor
public class ContractJob {

    private final IContractService contractService;

    public void updateContractStatus() {
        contractService.autoUpdateContractStatus();
    }
}
